package com.lg.atp.dao;

import java.util.List;
import java.util.Map;

import com.lg.atp.entity.TblMenuButtonInfo;

public interface MenuDao {
	
	List<TblMenuButtonInfo> getUserMenu(Long userId);
	
	TblMenuButtonInfo selectMenuById(Long id);
	
	List<TblMenuButtonInfo> selectMenuByParentId(Long id);
	
	List<TblMenuButtonInfo> selectUserMenuByParentId(Map<String,Object> map);
	
	void insertMenu(TblMenuButtonInfo menu);
	
	void updateMenu(TblMenuButtonInfo menu);
	
	List<TblMenuButtonInfo> getMenusWithRole();
	
	List<TblMenuButtonInfo> getAllMenu();
}
